package ar.com.contable.ganancias.model;

/**
 * Represent a value.
 * 
 * @author E420611
 *
 */
public class ItemValueModel {

	private Float value = Float.valueOf(0.0f);
	private String nameCode;
	private CategoryStrutModel category;

	/**
	 * Constructor.
	 * @param categoryStrutModel
	 * @param nameCode2
	 * @param categoryStrutModel2
	 */
	public ItemValueModel(CategoryStrutModel categoryStrutModel,
			String nameCode2) {
		this.setCategory(categoryStrutModel);
		this.setNameCode(nameCode2);
	}

	/**
	 * @return the value
	 */
	public Float getValue() {
		return value;
	}

	/**
	 * @param value the value to set
	 */
	public void setValue(Float value) {
		this.value = value;
	}

	/**
	 * @return the nameCode
	 */
	public String getNameCode() {
		return nameCode;
	}

	/**
	 * @param nameCode the nameCode to set
	 */
	public void setNameCode(String nameCode) {
		this.nameCode = nameCode;
	}

	/**
	 * @return the category
	 */
	public CategoryStrutModel getCategory() {
		return category;
	}

	/**
	 * @param category the category to set
	 */
	public void setCategory(CategoryStrutModel category) {
		this.category = category;
	}
	
}
